package com.itheima.service;


import com.itheima.entity.Classes;
import com.itheima.entity.PageBean;
import com.itheima.entity.PageQueryObject;

import java.util.List;

public interface ClassService {
    PageBean Serch(PageQueryObject pageRequestParam);

    boolean isHasStudent(Integer id);

    void delete(Integer id);

    void save(Classes clazz);

    Classes getById(Integer id);

    void update(Classes clazz);

    List<Classes> list();
}
